/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-10-23 21:11:22
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-10-24 09:18:29
 * @FilePath: \宏烨找房\user\demo\src\page\buyHouse\index.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React ,{ useEffect , useState} from 'react'
import { ArrowLeft, Ellipsis } from '@react-vant/icons';
import { useNavigate } from 'react-router-dom'

import './index.css'
 const Rent=()=> {
   const navigate = useNavigate()
   // 返回登录页面
   const back = () => {
     navigate('/layout/home')
   }
  return (
    <div className='box'>
      <img src={require('../../img/2.png')} />
      <div className='top'>
        <ArrowLeft onClick={() => back()} />
        <b>求租</b>
        <Ellipsis />
      </div>
    </div>
  )
}
export default Rent;